package com.how2java.tmall.mapper;

import java.util.List;

import com.how2java.tmall.pojo.Review;

public interface ReviewMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Review record);

    int insertSelective(Review record);

    Review selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Review record);

    int updateByPrimaryKey(Review record);

	List<Review> getReviewListByPid(int pid);
}